﻿@model DataMongo.Entities.FeedComment
@{
    ViewBag.Title = "WriteComment";
}

<div class="wrapper">

    @*<div class="ad-banner">
            <a href="contact-us.html" class="ad-link top"></a>
            <a href="#" target="_blank"><img src="~/Images/no-banner-468x60.jpg" /></a>
        </div>*@

    <div class="main-content">
        <!-- BEGIN .main-page -->
        <div class="main-page left">
            <!-- BEGIN .single-block -->
            <div class="single-block">

                <!-- BEGIN .content-block -->
                <div class="content-block main left">

                    <div class="block">
                        <div class="block-title">
                            <a href="#writecomment" class="right">View all comments</a>
                            <h2>Write a comment</h2>
                        </div>
                        <div class="block-content">
                            <div id="writecomment">

                                @using (Html.BeginForm("ReplyComment", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
                                {
                                    @Html.HiddenFor(x => x.FeedId)
                                    @Html.HiddenFor(x=>x.ReplyCommentId)
                                    @*<div class="coloralert" style="background: #a12717;">
                                            <p>Error Occurred!</p>
                                            <a href="#close-alert" class="icon-text">&#10006;</a>
                                        </div>*@
                                    <!-- <div class="coloralert" style="background: #68a117;">
                                             <p>Success!</p>
                                             <a href="#close-alert" class="icon-text">&#10006;</a>
                                         </div> -->
                                    <p>Your e-mail address will not be published.<br />Required fields are marked<span class="required">*</span></p>
                                    <p class="contact-form-user">
                                        <label for="c_name">Nickname<span class="required">*</span></label>
                                        <input type="text" placeholder="Name" name="Name" id="c_name" />
                                    </p>
                                    <p class="contact-form-email">
                                        <label for="c_email">E-mail<span class="required">*</span></label>
                                        <input type="text" placeholder="E-mail" name="Email" id="c_email" />
                                    </p>
                                    <p class="contact-form-message">
                                        <label for="c_message">Comment<span class="required">*</span></label>
                                        <textarea name="Description" placeholder="Your message.." id="c_message"></textarea>
                                    </p>
                                    <p><input type="submit" class="styled-button" value="Post a Comment" /></p>
                                }


                            </div>
                        </div>
                    </div>
                    <!-- END .content-block -->
                </div>
                <!-- END .single-block -->
            </div>
            <!-- END .main-page -->
        </div>

        <!-- BEGIN .main-sidebar -->
        <div class="clear-float"></div>
    </div>
    <!-- END .wrapper -->
</div>
